package com.conn.service.test;

import com.conn.service.socket.resp.ClientResponse;

public class EnterResponse extends ClientResponse{
	
	int num;
	byte state;
	int count;
	int[] pid;
	byte[] states;
	byte[] position;

	@Override
	public short getCmd() {
		return 1;
	}

	@Override
	public void sendClientData() {
		builder.setInt(num);
		builder.set(state);
		builder.setInt(count);
		builder.setIntArray(pid);
		builder.setByteArray(states);
		builder.setByteArray(position);
		
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public byte getState() {
		return state;
	}

	public void setState(byte state) {
		this.state = state;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public int[] getPid() {
		return pid;
	}

	public void setPid(int[] pid) {
		this.pid = pid;
	}

	public byte[] getStates() {
		return states;
	}

	public void setStates(byte[] states) {
		this.states = states;
	}

	public byte[] getPosition() {
		return position;
	}

	public void setPosition(byte[] position) {
		this.position = position;
	}
	
	

}
